﻿var BangoConstants = function () {
	var pub = {};

	pub.SDK_TYPE = function () {
		return 9;
	};

	pub.SDK_VERSION = function () {
		return "3.0.0";
	};

	pub.POST_RESPONSE_SUCCESS = function () {
		return "OK";
	};

	pub.ERROR_TAG = function () {
		return "BANGO_INAPP_ANALYTICS";
	};

	pub.VIDEO_PARAMETERNAME = function () {
		return "BGO_VIDEOTYPE";
	};

	pub.VIDEO_LIVEPARAMETER = function () {
		return "LIVE";
	};

	pub.VIDEO_ONDEMANDPARAMETER = function () {
		return "ONDEMAND";
	};

	pub.POSTDELAY_SESSIONEND = function () {
		return 10000;
	};

	pub.UNKNOWN_VERSION = function () {
		return "Unknown";
	};

	pub.ERROR_NONE = function () {
		return 0;
	};

	pub.ERROR_USER = function () {
		return 1;
	};

	pub.ERROR_INTERNAL_CRITICAL = function () {
		return -1;
	};

	pub.ERROR_INTERNAL_WARNING = function () {
		return -2;
	};

	pub.LOCATION_CELL = function () {
		return "CELL";
	};

	pub.LOCATION_GPS = function () {
		return "GPS";
	};

	pub.SETTING_POST_URL = function () {
		return "https://a.bango.net/AppAnalytics/debug/";
	};

	pub.SETTING_IDENTIFIER_URL = function() {
		return "http://bango.net/idxml/useridentification.aspx?bango=";
	};

	pub.SETTING_IDENTIFY_BANGO_USER = function() {
		return false;
	};

	pub.SETTING_USEOFFLINESTORAGE = function () {
		return true;
	};
	pub.SETTING_LOGEVENTS = function () {
		return true;
	};

	pub.SETTING_SESSION_RESUME_PERIOD = function () {
		return 10;
	};
	pub.SETTING_LOCATION_FIND = function () {
		return true;
	};

	pub.SETTING_MAXIMUM_EVENTS_PER_PROFILE = function () {
		return 50;
	};

	pub.POST_ON_MAXIMUM_EVENTS_PER_PROFILE = function () {
		return false;
	};

	pub.WIFI_CONNECTION = function () {
		return "WIFI";
	};

	pub.OPERATOR_CONNECTION = function () {
		return "OPERATOR";
	};

	pub.UNKNOWN_CONNECTION = function () {
		return "OTHER";
	};

	return pub;
}();
